<template>
  <div class="wrap">
    <el-container>
      <el-header>关于融惠通</el-header>
      <el-container>
        <el-aside width="80px">
          <div class="left">
            <span>申請</span>
            <span @click="tolist">列表</span>
            <span>xxx</span>
          </div>
        </el-aside>
        <el-main>
          <div>xxxxxxxxxxxx123xxxxxxxxxxxxxxxxxxxxx</div>
          <button @click="submit">申请</button>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>
<script>
// import toptab from '../../components/toptab.vue'
export default {
  data() {
    return {};
  },
  components: {
    // toptab
  },
  methods: {
    submit() {
      this.$router.push({ path: 'writemessage', query: { id: '0' } });
    },
 tolist() {
    this.$router.push({ path: 'list', query: { id: '0' } });
  }
  }
 
};
</script>
<style lang="scss">
.el-header,
.el-footer {
  background-color: #b3c0d1;
  color: #333;
  text-align: center;
  line-height: 60px;
}

.el-aside {
  background-color: #d3dce6;
  color: #333;
  text-align: center;
  line-height: 200px;
  line-height: 31vh;
}

.el-main {
  background-color: #e9eef3;
  color: #333;
  text-align: center;
  line-height: 160px;
}

body > .el-container {
  margin-bottom: 40px;
}

.el-container:nth-child(5) .el-aside,
.el-container:nth-child(6) .el-aside {
  line-height: 260px;
}

.el-container:nth-child(7) .el-aside {
  line-height: 320px;
}
.left span {
  height: 80%;
  display: flex;
  flex-direction: column;
  border: 1px solid #eee;
}
</style>